package com.tao.power.Enums;


import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum  ErrorEnums{
    Success(200,"登录成功!"),
    No_Power(4000,"暂无此功能权限!"),
    Login_Fail(4001,"用户名或密码错误!"),
    Username_Empty(4002,"用户名不存在!"),
    Info_Fail(4003,"信息修改失败!"),
    Deleteinfo_Fail(4004,"信息删除失败!"),
    AddInFO_Fail(4005,"信息添加失败!"),
    SetRoles(4006,"设置用户角色失败!"),
    NoStatus(4008,"当前用户已失效!,请找管理员恢复"),
    ImportFail(40009,"导入数据失败!请检查数据格式"),
    RolesFail(4010,"该角色已被赋予用户，在不能删除"),
    FileEmpty(4011,"上传文件为空!"),
    InfoIsEmpty(40001,"信息为空!");


    private int value;
    private String label;
}
